home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Applications
/
CC Converter 1.1.1
/
Scripts
/
MicroPhone™
/
CAUL quit
< prev
next >
Wrap
Text File
|
1994-03-21
|
898b
|
31 lines
Settings File = script test
Script Name = CAUL quit
Command Key =
F-Key =
Menu = YES
Button = NO
Version = 5001
System = Macintosh
Remark "Script to log off (quit) from the CAUL Current Contents database"
Remark "It can be run from any menu that supports /q (I think all of them do)."
Remark "© Kevin Sanderson 1994"
Set Variable * gExit from Expression "FALSE"
Send Text String "'/q^M'"
Repeat
When Text in Stream is "'ter Y or N:'"
Send Text String "'Y^M'"
Or When Text in Stream is "'REQUEST'"
Send Text String "'^'"
Send Text String "'^'"
Send Text String "'^'"
Set Variable * gExit from Expression "TRUE"
Or When Text in Stream is "'DATA BASE'"
Send Text String "'^M'"
Or When Seconds Have Passed "15"
Set Variable * gExit from Expression "TRUE"
Alert * OK "'Unable to exit.'"
End When
Until Expression "gExit = TRUE"
Delete Variable gExit